import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {InsurerComponent} from './routes/insurer/insurer.component';
import {SalesmanComponent} from './routes/salesman/salesman.component';


export const routes: Routes = [
  { path: '', pathMatch: 'full', redirectTo: 'insure' },
  { path: 'insure', component: InsurerComponent },
  { path: 'salesman', component: SalesmanComponent },
];
@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }
